﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 部门
    /// </summary>
    public class t_department : EntityBase
    {
        [EntityFieldLength(50)]
        public string code { get; set; }

        [EntityFieldLength(50)]
        public string name { get; set; }

        public string name_en { get; set; }

        public string name_th { get; set; }

        [EntityFieldLength(50)]
        public string parent_id { get; set; }

        public int type { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public int level { get; set; }

        /// <summary>
        /// 是否线体
        /// </summary>
        public bool is_line { get; set; }
    }
}
